package com.abetsy.vben.service;

import com.abetsy.vben.param.LoginParam;
import com.abetsy.vben.param.RegisterParam;
import com.abetsy.vben.vo.UserInfoVo;
import com.abetsy.vben.vo.LoginVo;

import java.util.List;

public interface SysUserService {

    /**
     * 用户登录
     */
    LoginVo login(LoginParam param);

    /**
     * 用户详情
     */
    UserInfoVo info();

    /**
     * 权限码
     */
    List<String> codes();

    /**
     * 用户新增
     */
    Object userAdd(RegisterParam registerParam);
}
